Platform Explorer / Nuxeo Platform 2021.59

Extension point rendering-extension

Documentation

Expose the registration of freemarker templates (directives, methods or global shared variables) This way custom templates can be registered into the freemarker engine from outside

    <rendering-extension class="org.nuxeo.ecm.platform.my.MyExtension" name="myExtension"/>

Contribution Descriptors

  • Class: org.nuxeo.ecm.webengine.rendering.RenderingExtensionDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-webengine-core-2021.59.2.jar /OSGI-INF/webengine-framework.xml
    <extension point="rendering-extension" target="org.nuxeo.ecm.webengine.WebEngineComponent">
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.ScriptMethod" name="script"/>
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.RenderDirective" name="render"/>
        <rendering-extension class="org.nuxeo.ecm.platform.rendering.wiki.WikiTransformer" name="wiki"/>
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.APIHelper" name="API"/>
      </extension>